Webdados\InvoiceXpressWooCommerce\BaseController D

Total Complexity 183
Dependencies 5
Dependents 0
Total lines 1,284
Lines of code 850
Logical lines of code 424
Comment lines 330
Methods 26
Properties 6

Methods 26

Method Rating Maintainability Complexity Lines of code
getOrderItemsForDocument()
D
28
31 138
getAndSendPDF()
C
28
21 156
finalize_document()
B
33 18 104
storeAndNoteDocument()
B
35 14 82
send_invoice_email()
A
36 11 76
process_items()
A
47 14 31
preventDocumentIssuingLogger()
A
50 12 26
get_due_date()
A
50 11 28
get_vat_name()
A
52 10 25
find_sequence_id()
A
50 9 26
preventDocumentIssuing()
S
55 5 21
changeOrderState()
S
52 4 25
get_document_client_name()
S
60 3 13
registerSettingsOptionsValidation()
S
60 2 15
can_send_non_woocommerce_email()
S
76 3 3
registerSettingsOptions()
S
63 2 12
format_string()
S
66 2 8
get_order_number()
S
77 2 3
doActionEmail()
S
69 2 6
noteDocumentFailedPDF()
S
60 1 13
doActionFinalize()
S
74 1 4
__construct()
S
66 1 9
draft_document_note()
S
65 1 9
getDocumentPDF()
S
64 1 10
order_item_title()
S
74 1 4
get_email_placeholders()
S
79 1 3